/**
 * Created by Administrator on 2017/4/19.
 */
//public private


class people{
    name:string;//默认public
    private age:number;
    constructor(name:string,age:number){
        this.name =name;
        this.age = age
    }
    print(){
        return this.name+';'+this.age
    }
}

//class ss extends people{
//    school:string;
//    //print(){
//    //    return this.name+';'+this.age+';'+this.school
//    //}
//}
//var me = new ss('Tokky',25);
//console.log(me)